<!--导航条开始-->
<mynavbar></mynavbar>
<!--导航条结束-->
<mynav></mynav>
<!--面包屑开始-->
<breadcrumb></breadcrumb>
<!--面包屑结束-->
<!--添加校友面板开始-->
<div class="container" style="position: absolute;top: 30%;left: 5%;">

    <form class="form col-md-6 col-lg-6 center-block">
        <fieldset>
            <legend class="text-center">新增校友</legend>
            <div class="form-group">
                <span class="hint">用户名:</span>
                <input type="text" id="username" class="form-control input-lg" placeholder="账号" ng-model="user.username">
            </div>
            <div class="form-group">
                <span class="hint">密码:</span>
                <input type="password" class="form-control input-lg" placeholder="登录密码" ng-model="user.password">
            </div>
            <div class="form-group">
                <span class="hint">重复密码:</span>
                <input type="password" class="form-control input-lg" placeholder="重复密码" ng-model="user.password">
            </div>
            <div class="form-group">
                <span class="hint">真实姓名:</span>
                <input type="text" class="form-control input-lg" placeholder="真实姓名" ng-model="user.realName">
            </div>
            <div class="form-group">
                <span class="hint">身份证号码:</span>
                <input type="text" class="form-control input-lg" placeholder="身份证号码" ng-model="user.idCardNum">
            </div>
            <div class="form-group">
                <span class="hint">工作单位:</span>
                <input type="text" class="form-control input-lg" placeholder="工作单位" ng-model="user.business">
            </div>
            <div class="form-group">
                <span class="hint">入学年份:</span>
                <input type="text" class="form-control input-lg" placeholder="入学年份" ng-model="user.enteryear">
            </div>
            <div class="form-group">
                <span class="hint">班级:</span>
                <input type="text" class="form-control input-lg" placeholder="班级" ng-model="user.classid">
            </div>
            <div class="form-group">
                <span class="hint">手机号:</span>
                <input type="text" class="form-control input-lg" placeholder="手机号码" ng-model="user.mobile">
            </div>
            <div class="form-group">
                <span class="hint">家庭住址:</span>
                <input type="text" class="form-control input-lg" placeholder="家庭住址" ng-model="user.address">
            </div>
            <div class="form-group">
                <span class="hint">邮编:</span>
                <input type="text" class="form-control input-lg" placeholder="邮编" ng-model="user.zipcode">
            </div>
            <div class="form-group">
                <br>
                <button class="btn btn-primary btn-lg btn-block" ng-click="addUser()">添加</button>
            </div>
        </fieldset>
    </form>
    <!--添加校友面板结束-->
    <!--添加校友头像面板开始-->
        <div class="row">
            <div class="col-lg-2 col-md-2">
            </div>
            <div class="col-lg-4 col-md-4 ">
                <br><br><br><br>
                <img style="display: block;left: 50%;" width="100%" height="100%"  ng-src={{user.headimage}}>
                <button type="file" class=" btn-lg center-block"  ngf-Multiple="false" ng-model="file" name="file" ngf-pattern="'image/*'"
                        ng-Model-Options="{updateOn:''}" ngf-Select-Disabled="false" ngf-accept="'image/*'" attr="true" ngf-Capture="" ngf-min-height="100"
                        ngf-Min-Size="" ngf-Validate="" ngf-Max-Files="" ngf-Validate-After-Resize="" ngf-Before-Model-Change="" multiple="" ngf-Keep-Distinct="" ngf-Keep="" ngf-Change="" ngf-resize="{width: 200, height: 200}" ngf-select="uploadFiles($file, $invalidFiles)" ngf-max-height="1000" ngf-max-size="1MB">
                    上传头像</button>
                <span style="font-size: larger;">{{f.name}}</span>
                <span class="progress" ng-show="f.progress >= 0">
                <div style="color: #0f0;" ng-bind="f.progress + '%'"></div>
            </span>
            </div>
        </div>
    <!--添加校友头像面板结束-->
</div>
<!--页脚开始-->

<!--页脚结束-->